package net.yondervision.hrfsp.sdk.esign.domain.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.yondervision.hrfsp.sdk.esign.domain.request.body.Context;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/09/27 22:37
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StructComponent {

  /**
   * 输入项组件id
   */
  private String id;
  /**
   * 模板下输入项组件唯一标识
   */
  private String key;
  /**
   * 输入项组件类型
   * 1-文本
   * 2-数字
   * 3-日期
   * 6-签约区
   */
  private int type;
  /**
   * 输入项组件上下文信息
   */
  private Context context;
}
